package com.games.game.bean;


public class UserInfo {
    private int id;
    private String name;
    private String password;
    private int age;
    private String photo;

    public UserInfo(){}

    public UserInfo(String name, String password, int age, String photo) {
        this.name = name;
        this.password = password;
        this.age = age;
        this.photo = photo;
    }

    public String getName() { return name; }

    public int getId() { return id; }

    public void setPassword(String password) { this.password = password; }

    public String getPassword() { return password; }

    public void setName(String name) { this.name = name; }

    public void setId(int id) { this.id = id; }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return photo;
    }

    @Override
    public String toString() {
        return id + " " + name;
    }
}



